package com.chaochis.wind.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.chaochis.wind.base_enums.BaseEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 刘超
 * @version 1.0.0
 * 数据状态
 */
@Getter
public enum DataStatus implements BaseEnum {
  Inactivated(0, "未激活"),
  Normal(1, "正常"),
  Deleted(2, "已删除");
  @EnumValue
  @JsonValue
  private final Integer value;
  private final String text;
  DataStatus(Integer value, String text) {
    this.value = value;
    this.text = text;
  }
}
